package test.n00000;


public class Problem00100 {
    public static void main(String[] args) {
        println("aa", "a");
        println("aa", "a*");
        println("ab", ".*");
    }

    public static void println(final String s, final String pattern) {
        Solution ss = new Solution();
        System.out.println(s + "," + pattern + "," + ss.isMatch(s, pattern));
    }

    public static class Solution {

        /**
         * 正则表达式匹配
         *
         * @param s
         * @param p
         * @return
         */
        public boolean isMatch(String s, String p) {
            final char[] c1 = s.toCharArray();

            // TODO
            for (char c : c1) {

            }
            return false;
        }
    }
}
